@charset "UTF-8";

//自定义下拉框，用于替代，默认的select表单下拉框；
//下拉框类型多样，无边框，下边框(默认），全边框，上圆角，前面有图标

.p-select {
  position: relative;
  font-size: 16px;
  cursor: pointer;
}

.p-select h3{
  max-width: 80%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.p-select img{
  max-height: 30px;
}
.p-select-header{

line-height: 32px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 5px;
  border:2px solid #652920;
  background:#130f0e;
  padding: 0 15px;
  position: relative;
  z-index: 10;
  color:#f2d5ad;
  box-shadow: 0 0 2px #000;
}
.p-select-header:hover{
  background:url("/res/images/cont/home/hover.png") repeat;
/*  box-shadow: 0 0 1px  rgba(255, 255, 255, 0.1),
                       0 0 1px  rgba(83, 169, 255, 0.3),
                       0 0 5px   rgba(255, 255, 255, 0.8);*/
}

.p-select-header:after {
  z-index: 13;
  border: 7px solid transparent;
  width: 0;
  height: 0;
  position: absolute;
  top: 35%;
  right: 4%;
  content: '';
  color: #999;
}
.p-select-header:after {
  background:url("/res/images/bg/icons/select-img.png") no-repeat;
  top: 45%;
}

.p-select-body{
  //display: none;
  background:#130f0e;
  border-bottom:3px solid #3d3838;
  
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  position: absolute;
  z-index: 9;
  top:40px;
  left: -9999px;
  opacity: 0;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 0 5px #000;
}
.p-select-body li{
  min-height: 40px;
  line-height: 40px;
  padding: 0 15px;
  box-sizing: border-box;
}
.p-select-body li:hover{
  background:url("/res/images/cont/home/hover.png") repeat;
}
.p-select-body h3{
  font-weight: normal;
}

//滑入时显示
.p-select-body-show{
  left: 0;
  opacity: 1;
}





//无边框
.p-select-no-border .p-select-header{
  border-bottom: none;
}

//全边框
.p-select-border .p-select-header{
  border:1px solid #224c72;
}
.p-select-border .p-select-body{
  border:1px solid #224c72;
}
//上圆角
.p-select-top-radius .p-select-header{
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

//前面带图标
.p-select-icon .p-select-header{
  padding: 0 15px 0 40px;
}
.p-select-icon .p-select-header:before {
  z-index: 13;
  display: block;
  content: '';
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
}